package jobshopScheduling;

import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

import JaCoP.core.Store;

public class JobShopSchedulingTest extends JobShopScheduling {
	
	private JobShopScheduling jobshopScheduling;
	
	@Before
	public void testSetup() {
		jobshopScheduling = new JobShopScheduling();
	}
	
	@Test
	public void testSetUpAllJobs() {
		jobshopScheduling.setUpAllJobs();
		
		assertEquals(true, jobshopScheduling.checkConsistency());
	}
	
	@Test
	public void testCumulativeConstraints() {
		jobshopScheduling.setUpAllJobs();
		jobshopScheduling.cumulativeConstraints();
		
		assertEquals(true, jobshopScheduling.checkConsistency());
	}
	
	@Test
	public void reviewExecution(){
		jobshopScheduling.generateAllConstraints();
	}

}